<template>
    <div class="demo">
        <h2>学生姓名:{{name}}</h2>
        <h2>学生性别：{{gender}}</h2>
    </div>
</template>

<script>
export default {
    name:"StudentInfo",
    data(){
        return{
            name:"雷智磊",
            gender:"男"
            
        }
    },
    
}
</script>
<style scoped>
    .demo{
        background-color: aqua;
    }
</style>